import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Home from '@/components/Home'
import Answers from '@/components/Answers'
import Result from '@/components/Result'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // }
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/answers/:id',
      name: 'Answers',
      component: Answers
    },
    {
      path: '/result/:id',
      name: 'Result',
      component: Result
    }
  ]
})
